﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ImportWorkRecord.ascx.vb"
    Inherits="WebForm_ManageWorkRecord_ImportWorkRecord" %>
<%@ Register Src="~/WebForm/CommonControl/AnnualControl.ascx" TagName="AnnualControl"
    TagPrefix="My" %>
<%--<%@ Register src="../CommonControl/VolunteerQueryControlV2.ascx" tagname="VolunteerQueryControl" tagprefix="uc1" %>--%>
<%@ Register src="../CommonControl/VolunteerQueryControl.ascx" tagname="VolunteerQueryControl" tagprefix="uc1" %>
<table width="100%">
    <tr>
        <td>
                    <table> <%-- 
                           <tr>
                               <td>
                                    <uc1:VolunteerQueryControl ID="VolunteerQueryControl2" runat="server" />
                               </td>
                       
                             <td>
                                    <table>
                                        <tr>
                                          <td align="right">
                                             <asp:Label ID="lblOrganization" runat="server" meta:resourcekey="lblOrganization"></asp:Label>
                                          </td>
                                          <td align="left">
                                             <My:DropDown ID="ddlOrganization" runat="server" PopupControlID="pnlOrg" AutoPostBack="true"
                                             OnSelectedIndexChanged="ddlOrganization_SelectedIndexChanged"></My:DropDown>
                                        </td>         
                                          <asp:PlaceHolder ID="phVOrganizationID" runat="server" Visible="false">
                                             <td align="right">
                                                <asp:Label ID="lblVOrganizationID" runat="server" Text="<%$ Resources:VOrganizationID %>"></asp:Label>
                                             </td>
                                             <td align="left">  

                                            <My:DropDown ID="ddlVOrganizationID" runat="server" PopupControlID="pnlVOrg"></My:DropDown>

                                             </td>
                                        </asp:PlaceHolder>
                                      </tr>
                                   </table>
                                </td>
                          </tr>  --%>
                          <tr>
                            <td>
                                <uc1:VolunteerQueryControl ID="VolunteerQueryControl1" runat="server" />
                            </td>
                         </tr> 
                         <tr>
                            <td>
                                <asp:Button ID="btnExport2" runat="server" Text="匯出服務時數表(空白)" />
                                <asp:CheckBox ID="cbNotReserve" runat="server" Text="包含儲備志工" />
                            </td>
                        </tr>
                    </table>
        </td>             
    </tr>
</table>
<hr />
<asp:Panel ID="plImport" runat="server" Visible="false">
<table width="100%">
    <tr>
        <td align="left">
            <asp:Label ID="lblFile" runat="server" meta:resourcekey="lblFile"></asp:Label>
            <asp:FileUpload ID="FileUpload1" runat="server" />   
            <asp:Button ID="btnImport" runat="server" meta:resourcekey="btnImport" />         
            <a href="<%= Me.ResolveUrl(MyObj.GetFilePath("ImportWorkRecordSample", True)) %>">範例檔</a>         
        </td>
    </tr>
    <tr>
        <td align="left">
                <asp:CheckBox ID="cbnotVBookID" runat="server" Text="檢查項目不包含紀錄冊號碼" />
             <%--   <asp:CheckBox ID="cbNotWorkHour" runat="server" Text="匯入不包含認養時數"  />--%>
        </td>
    </tr>
    <tr>
        <td>
             <div id="Table1" align=center style="OVERFLOW: auto; HEIGHT: 300px">
            <My:MyGridView ID="gv" SkinID="pager" Height="100%" runat="server" AutoGenerateColumns="true"
             EmptyDataText="無資料" Visible="false" AllowPaging="false">
            </My:MyGridView>
            </div>
        </td>
    </tr>
</table>
</asp:Panel>